package com.dzh.pojo;

import java.util.List;

public class Agent {
    private Integer aid;
    private String aname;
    private int age;
    private String telephone;
    private String experience;
    private String address;
    private double dealvalue;
    private int customerdeal;
    private int propertydeal;
    private int propertiesnum;
    private String aimg;
    private String email;
    private String agentintro;
    private List<Galley> galleyList;

    @Override
    public String toString() {
        return "Agent{" +
                "aid='" + aid + '\'' +
                ", aname='" + aname + '\'' +
                ", age=" + age +
                ", telephone='" + telephone + '\'' +
                ", experience='" + experience + '\'' +
                ", address='" + address + '\'' +
                ", dealvalue=" + dealvalue +
                ", customerdeal=" + customerdeal +
                ", propertydeal=" + propertydeal +
                ", propertiesnum=" + propertiesnum +
                ", aimg='" + aimg + '\'' +
                ", email='" + email + '\'' +
                ", agentintro='" + agentintro + '\'' +
                ", galleyList=" + galleyList +
                '}';
    }

    public List<Galley> getGalleyList() {
        return galleyList;
    }

    public void setGalleyList(List<Galley> galleyList) {
        this.galleyList = galleyList;
    }

    public Agent(List<Galley> galleyList) {
        this.galleyList = galleyList;
    }

    public String getAgentintro() {
        return agentintro;
    }

    public void setAgentintro(String agentintro) {
        this.agentintro = agentintro;
    }

    public Agent(String email) {
        this.email = email;
    }

    public Agent() {
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getExperience() {
        return experience;
    }

    public void setExperience(String experience) {
        this.experience = experience;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public double getDealvalue() {
        return dealvalue;
    }

    public void setDealvalue(double dealvalue) {
        this.dealvalue = dealvalue;
    }

    public int getCustomerdeal() {
        return customerdeal;
    }

    public void setCustomerdeal(int customerdeal) {
        this.customerdeal = customerdeal;
    }

    public int getPropertydeal() {
        return propertydeal;
    }

    public void setPropertydeal(int propertydeal) {
        this.propertydeal = propertydeal;
    }

    public int getPropertiesnum() {
        return propertiesnum;
    }

    public void setPropertiesnum(int propertiesnum) {
        this.propertiesnum = propertiesnum;
    }


    public String getAimg() {
        return aimg;
    }

    public void setAimg(String aimg) {
        this.aimg = aimg;
    }

    public Agent(Integer aid, String aname, int age, String telephone, String experience, String address, double dealvalue, int customerdeal, int propertydeal, int propertiesnum, String pid, String aimg) {
        this.aid = aid;
        this.aname = aname;
        this.age = age;
        this.telephone = telephone;
        this.experience = experience;
        this.address = address;
        this.dealvalue = dealvalue;
        this.customerdeal = customerdeal;
        this.propertydeal = propertydeal;
        this.propertiesnum = propertiesnum;
        this.aimg = aimg;
    }
}
